import { defHttp } from "/@/utils/http/axios"
import { DemoOptionsItem, selectParams } from "./model/optionsModel"
import { log } from "console"
enum Api {
  OPTIONS_LIST = "/mock/select/getDemoOptions",
}

/**
 * @description: Get sample options value
 */
export const optionsListApi = (params?: selectParams) => {
  console.log("params: ", params)
  return defHttp.get<DemoOptionsItem[]>({ url: Api.OPTIONS_LIST, params })
}
